/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.inheritance.inheritancecomplient.children;

import za.ac.cput.inheritance.inheritancecomplient.astract.Student;

/**
 *
 * @author given
 */
public class UndergraduateReg extends Student {

    @Override
    public String getLevel() {
        return level;
    }

    @Override
    public void setLevel(String level) {
        this.level = level;
    }

    
    public String getUndergrad() {
        return undergrad;
    }

    public void setUndergrad(String undergrad) {
        this.undergrad = undergrad;
    }

    
    @Override
    public String toString(){
        return "Student number: " + this.getStudNum() + "\nName: " + this.getName() + "\nSurname: " + this.getSurname() +
                "\nUndergrade Course: " + getUndergrad() + "\nLevel: " + getLevel();
    }
}
